package fr.utbm.gi.in56.ads;

/**
 * Enum of the different types of ads
 *
 * @author Adrien Hoffer & Tarik Belabbas
 *
 */
public enum AdType
{
	NONE
	{
		@Override
		public String getType()
		{
			return ""; //$NON-NLS-1$
		}
	},
	SELL
	{
		@Override
		public String getType()
		{
			return "sale"; //$NON-NLS-1$
		}
	},
	BUY
	{
		@Override
		public String getType()
		{
			return "buy"; //$NON-NLS-1$
		}
	};
	
	/**
	 * Returns the string associated to the type.
	 * 
	 * @return the string associated to the type
	 */
	public abstract String getType();
}
